 #ifndef TRIANGLERASTER_H
#define TRIANGLERASTER_H
#include "gpu_global.h"
#include <vector>
#include "mymath.h"

class TriangleRaster
{
public:
    TriangleRaster();
    ~TriangleRaster();

    static void rasterTriangle( std::vector<Point>& results,
                                const Point& v0,
                                const Point& v1,
                                const Point& v2);
private:
    static void interpolantTriangle(const Point& v0,
                             const Point& v1,
                             const Point& v2,
                             Point& p);

};

#endif // TRIANGLERASTER_H
